package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.OrderForm;
import org.hxyjs.page.PageInfo;

public interface OrderFormService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<OrderForm> getAllOrderForms() throws Exception;
    /**
     *  查询学生带选课
     * @param urno
     * @return
     */

    public DTO<OrderForm> deleteOrderFormByUrno(String urno) throws Exception;
    /**
     *  删除学生
     * @param orderForm
     * @return
     */
    public DTO<OrderForm> updateOrderFormByUrno(OrderForm orderForm)  throws Exception;
    /**
     *  增加学生
     * @param
     * @return
     */
    public DTO<OrderForm> addOrderForm(OrderForm orderForm)  throws Exception;

    public DTO<OrderForm> getOrderFormByUrno(String urno)  throws Exception;

    public DTO<OrderForm> getOrderFormByPage(PageInfo pageInfo) throws Exception;

    public DTO<OrderForm> getOrderFormByPage(PageInfo pageInfo,String cacheId) throws Exception;

    public DTO<OrderForm> processOrder(String urno,String type) throws Exception;

    public DTO<OrderForm> processPay(String urno) throws Exception;


}
